﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Business.Inventories.Repositories
{
    public interface IInventoryTransationRepository : IRepository<InventoryTransaction , Guid>
    {
        Task<int> GetCountAsync(Guid? tradingObjectId, Guid? tradingObjectItemId, CancellationToken cancellationToken = default(CancellationToken));

        Task<InventoryTransaction> GetAsync(Guid tradingObjectId, Guid tradingObjectItemId, CancellationToken cancellationToken = default(CancellationToken));
    }
}
